package com.payment.system.domain.wxpay;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement(name = "xml")
public class WxNotifyReq {

	/** 返回状态码 */
	private String returnCode;
	/** 返回信息 */
	private String returnMsg;
	/** 应用ID */
	private String appId;
	/** 商户号 */
	private String mchId;
	/** 设备号 */
	private String deviceInfo;
	/** 随机字符串 */
	private String nonceStr;
	/** 签名 */
	private String sign;
	/** 业务结果 */
	private String resultCode;
	/** 错误代码 */
	private String errCode;
	/** 错误代码描述 */
	private Integer errCodeDes;
	/** 用户标识 */
	private String openId;
	/** 是否关注公众账号 */
	private String isSubscribe;
	/** 交易类型 */
	private String tradeType;
	/** 付款银行 */
	private String bankType;
	/** 总金额 */
	private Integer totalFee;
	/** 货币种类 */
	private String feeType;
	/** 现金支付金额 */
	private Integer cashFee;
	/** 现金支付货币类型 */
	private String cashFeeType;
	/** 代金券金额 */
	private Integer couponFee;
	/** 代金券使用数量 */
	private Integer couponCount;
	/** 代金券ID */
	private String couponId$n;
	/** 单个代金券支付金额 */
	private Integer couponFee$n;
	/** 微信支付订单号 */
	private String transactionId;
	/** 商户订单号 */
	private String outTradeNo;
	/** 商家数据包 */
	private String attach;
	/** 支付完成时间 */
	private String timeEnd;

	@XmlElement(name = "return_code")
	public String getReturnCode() {
		return returnCode;
	}

	public void setReturnCode(String returnCode) {
		this.returnCode = returnCode;
	}

	@XmlElement(name = "return_msg")
	public String getReturnMsg() {
		return returnMsg;
	}

	public void setReturnMsg(String returnMsg) {
		this.returnMsg = returnMsg;
	}

	@XmlElement(name = "appid")
	public String getAppId() {
		return appId;
	}

	public void setAppId(String appId) {
		this.appId = appId;
	}

	@XmlElement(name = "mch_id")
	public String getMchId() {
		return mchId;
	}

	public void setMchId(String mchId) {
		this.mchId = mchId;
	}

	@XmlElement(name = "device_info")
	public String getDeviceInfo() {
		return deviceInfo;
	}

	public void setDeviceInfo(String deviceInfo) {
		this.deviceInfo = deviceInfo;
	}

	@XmlElement(name = "nonce_str")
	public String getNonceStr() {
		return nonceStr;
	}

	public void setNonceStr(String nonceStr) {
		this.nonceStr = nonceStr;
	}

	@XmlElement(name = "sign")
	public String getSign() {
		return sign;
	}

	public void setSign(String sign) {
		this.sign = sign;
	}

	@XmlElement(name = "result_code")
	public String getResultCode() {
		return resultCode;
	}

	public void setResultCode(String resultCode) {
		this.resultCode = resultCode;
	}

	@XmlElement(name = "err_code")
	public String getErrCode() {
		return errCode;
	}

	public void setErrCode(String errCode) {
		this.errCode = errCode;
	}

	@XmlElement(name = "err_code_des")
	public Integer getErrCodeDes() {
		return errCodeDes;
	}

	public void setErrCodeDes(Integer errCodeDes) {
		this.errCodeDes = errCodeDes;
	}

	@XmlElement(name = "openid")
	public String getOpenId() {
		return openId;
	}

	public void setOpenId(String openId) {
		this.openId = openId;
	}

	@XmlElement(name = "is_subscribe")
	public String getIsSubscribe() {
		return isSubscribe;
	}

	public void setIsSubscribe(String isSubscribe) {
		this.isSubscribe = isSubscribe;
	}

	@XmlElement(name = "trade_type")
	public String getTradeType() {
		return tradeType;
	}

	public void setTradeType(String tradeType) {
		this.tradeType = tradeType;
	}

	@XmlElement(name = "bank_type")
	public String getBankType() {
		return bankType;
	}

	public void setBankType(String bankType) {
		this.bankType = bankType;
	}

	@XmlElement(name = "total_fee")
	public Integer getTotalFee() {
		return totalFee;
	}

	public void setTotalFee(Integer totalFee) {
		this.totalFee = totalFee;
	}

	@XmlElement(name = "fee_type")
	public String getFeeType() {
		return feeType;
	}

	public void setFeeType(String feeType) {
		this.feeType = feeType;
	}

	@XmlElement(name = "cash_fee")
	public Integer getCashFee() {
		return cashFee;
	}

	public void setCashFee(Integer cashFee) {
		this.cashFee = cashFee;
	}

	@XmlElement(name = "cash_fee_type")
	public String getCashFeeType() {
		return cashFeeType;
	}

	public void setCashFeeType(String cashFeeType) {
		this.cashFeeType = cashFeeType;
	}

	@XmlElement(name = "coupon_fee")
	public Integer getCouponFee() {
		return couponFee;
	}

	public void setCouponFee(Integer couponFee) {
		this.couponFee = couponFee;
	}

	@XmlElement(name = "coupon_count")
	public Integer getCouponCount() {
		return couponCount;
	}

	public void setCouponCount(Integer couponCount) {
		this.couponCount = couponCount;
	}

	@XmlElement(name = "coupon_id_$n")
	public String getCouponId$n() {
		return couponId$n;
	}

	public void setCouponId$n(String couponId$n) {
		this.couponId$n = couponId$n;
	}

	@XmlElement(name = "coupon_fee_$n")
	public Integer getCouponFee$n() {
		return couponFee$n;
	}

	public void setCouponFee$n(Integer couponFee$n) {
		this.couponFee$n = couponFee$n;
	}

	@XmlElement(name = "transaction_id")
	public String getTransactionId() {
		return transactionId;
	}

	public void setTransactionId(String transactionId) {
		this.transactionId = transactionId;
	}

	@XmlElement(name = "out_trade_no")
	public String getOutTradeNo() {
		return outTradeNo;
	}

	public void setOutTradeNo(String outTradeNo) {
		this.outTradeNo = outTradeNo;
	}

	@XmlElement(name = "attach")
	public String getAttach() {
		return attach;
	}

	public void setAttach(String attach) {
		this.attach = attach;
	}

	@XmlElement(name = "time_end")
	public String getTimeEnd() {
		return timeEnd;
	}

	public void setTimeEnd(String timeEnd) {
		this.timeEnd = timeEnd;
	}

}
